package com.songqintuan.model.po.base;

import java.sql.Timestamp;

import com.songqintuan.model.po.SystemUser;

public class BasePojoLong {

	protected Long id;

	protected Timestamp createTime;

	protected SystemUser creator;

	protected Timestamp modifyTime;

	protected SystemUser modifier;

	protected Long recordVersion;

	public void copyCreateInfo(BasePojoString other) {
		this.createTime = other.getCreateTime();
		this.creator = other.getCreator();

	}

	public void copyModifyInfo(BasePojoString other) {
		this.modifyTime = other.getModifyTime();
		this.modifier = other.getModifier();
	}

	public void setCreateInfo(Timestamp createTime, SystemUser creator) {
		this.createTime = createTime;
		this.creator = creator;
	}

	public void setModifyInfo(Timestamp modifyTime, SystemUser modifier) {
		this.modifyTime = modifyTime;
		this.modifier = modifier;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public SystemUser getCreator() {
		return creator;
	}

	public void setCreator(SystemUser creator) {
		this.creator = creator;
	}

	public Timestamp getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Timestamp modifyTime) {
		this.modifyTime = modifyTime;
	}

	public SystemUser getModifier() {
		return modifier;
	}

	public void setModifier(SystemUser modifier) {
		this.modifier = modifier;
	}

	public Long getRecordVersion() {
		return recordVersion;
	}

	public void setRecordVersion(Long recordVersion) {
		this.recordVersion = recordVersion;
	}

}
